




/*
*************************************************************************
*西瑞克斯研发管理系统
*版 本: 1.0   
*日 期：02/08/2012    
*作 者： 王浩 QQ：873987060   
*************************************************************************   
*/ 
package com.application.research4ylt.service;
import java.util.List;
import com.manager.BaseService;
import com.manager.commons.page.PageBean;
import com.application.research4ylt.entity.Research4ylt;
import com.application.research4ylt.struts.form.Research4yltForm;
import com.application.research4ylt.dao.Research4yltDAO;
 /**
 * 
 * Description:Research4yltService<br />
 * 
 * Version:V0.1<br />
 * 
 * Author: 左磊 QQ：30575951    <br />
 * 
 * History: <br />
 * 
 * 02/08/2012 
 * 
 */
public class Research4yltService extends BaseService
{
	private Research4yltDAO research4yltDAO;

	public Research4yltDAO getResearch4yltDAO() {
		return this.research4yltDAO;
	}

	public void setResearch4yltDAO(Research4yltDAO research4yltDAO) {
		this.research4yltDAO = research4yltDAO;
	}
        

        public Research4ylt getResearch4ylt(Research4ylt research4ylt) {
		return (Research4ylt) this.getBaseDao().queryByPk(research4ylt, research4ylt.getId());
	}
	
	public Integer getAllCountResearch4ylt(Research4yltForm research4yltForm){
		return this.research4yltDAO.getAllCountResearch4ylt(research4yltForm);
	}
	
	public List<Research4ylt> searchResearch4ylt(Research4yltForm research4yltForm, PageBean pageBean) throws Exception {
		List<Research4ylt> research4yltList = (List) this.research4yltDAO.searchResearch4ylt(research4yltForm, pageBean);
		return research4yltList;
	}
        
        public void deleteResearch4ylts(Research4yltForm research4yltForm){
	   this.research4yltDAO.deleteResearch4ylts(research4yltForm);	 
	}
        public List searchResearch4ylt(final Research4yltForm research4yltForm) {
    		List<Research4ylt> research4yltList = (List) this.research4yltDAO.searchResearch4ylt(research4yltForm);
    		return research4yltList;
    	}
}
